package cn.sjx.graduate.service;

import cn.sjx.graduate.domain.Employee;
import cn.sjx.graduate.domain.StaffPayroll;
import cn.sjx.graduate.qo.QueryObject;
import cn.sjx.graduate.qo.StaffTypeQuery;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author bo-feifei
 * @since 2021-11-07
 */
public interface IStaffPayrollService extends IService<StaffPayroll> {


    /**
     * 根据工资单id 找到教职工当月考勤信息，对其发送工资
     *
     * @param id
     */
    void payroll(Long id);

    IPage<StaffPayroll> queryPage(StaffTypeQuery qo, Employee employee);
}
